<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<title>Core Plot (iOS): Source/CPTTheme.h Source File</title>

<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="customdoxygen.css" rel="stylesheet" type="text/css" />
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
  $(document).ready(initResizable);
</script>


</head>
<body>
<div id="top"><!-- do not remove this div! -->


<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  
  <td id="projectlogo"><img alt="Logo" src="core-plot-logo.png"/></td>
  
  
  <td style="padding-left: 0.5em;">
   <div id="projectname">Core Plot (iOS)
   
   </div>
   <div id="projectbrief">Cocoa plotting framework for Mac OS X and iOS</div>
  </td>
  
  
  
 </tr>
 </tbody>
</table>
</div>

<!-- Generated by Doxygen 1.7.6.1 -->
<script type="text/javascript" src="dynsections.js"></script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="modules.html"><span>Animation&#160;&&#160;Constants</span></a></li>
      <li><a href="annotated.html"><span>Classes</span></a></li>
      <li class="current"><a href="files.html"><span>Files</span></a></li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="files.html"><span>File&#160;List</span></a></li>
      <li><a href="globals.html"><span>File&#160;Members</span></a></li>
    </ul>
  </div>
</div>
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
  initNavTree('_c_p_t_theme_8h.html','');
</script>
<div id="doc-content">
<div class="header">
  <div class="headertitle">
<div class="title">Source/CPTTheme.h</div>  </div>
</div><!--header-->
<div class="contents">
<div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 <span class="preprocessor">#import &lt;Foundation/Foundation.h&gt;</span>
<a name="l00002"></a>00002 
<a name="l00005"></a>00005 <span class="keyword">extern</span> <a class="codeRef" href="http://developer.apple.com/iphone/library/documentation/Cocoa/Reference/Foundation/Classes/NSString_Class/Reference/NSString.html">NSString</a> *<span class="keyword">const</span> <a class="code" href="group__theme_names.html#ga5f7f2a396df2807d9df225b546bc83fd" title="Dark gradient theme.">kCPTDarkGradientTheme</a>;
<a name="l00006"></a>00006 <span class="keyword">extern</span> <a class="codeRef" href="http://developer.apple.com/iphone/library/documentation/Cocoa/Reference/Foundation/Classes/NSString_Class/Reference/NSString.html">NSString</a> *<span class="keyword">const</span> <a class="code" href="group__theme_names.html#gaee2ee00fc6afe67c17bc2dab26dad06c" title="Plain black theme.">kCPTPlainBlackTheme</a>;
<a name="l00007"></a>00007 <span class="keyword">extern</span> <a class="codeRef" href="http://developer.apple.com/iphone/library/documentation/Cocoa/Reference/Foundation/Classes/NSString_Class/Reference/NSString.html">NSString</a> *<span class="keyword">const</span> <a class="code" href="group__theme_names.html#gafe03a5ec2d0a2c236b5b2ae68927b4b6" title="Plain white theme.">kCPTPlainWhiteTheme</a>;
<a name="l00008"></a>00008 <span class="keyword">extern</span> <a class="codeRef" href="http://developer.apple.com/iphone/library/documentation/Cocoa/Reference/Foundation/Classes/NSString_Class/Reference/NSString.html">NSString</a> *<span class="keyword">const</span> <a class="code" href="group__theme_names.html#ga13f6afa3e4abf27f50cf8798ba48f615" title="Slate theme.">kCPTSlateTheme</a>;
<a name="l00009"></a>00009 <span class="keyword">extern</span> <a class="codeRef" href="http://developer.apple.com/iphone/library/documentation/Cocoa/Reference/Foundation/Classes/NSString_Class/Reference/NSString.html">NSString</a> *<span class="keyword">const</span> <a class="code" href="group__theme_names.html#gad0fd9a9b2a53d2fe4f5ae1c8b580ecac" title="Stocks theme.">kCPTStocksTheme</a>;
<a name="l00011"></a>00011 
<a name="l00012"></a>00012 <span class="keyword">@class</span> <a class="code" href="interface_c_p_t_graph.html" title="An abstract graph class.">CPTGraph</a>;
<a name="l00013"></a>00013 <span class="keyword">@class</span> <a class="code" href="interface_c_p_t_plot_area_frame.html" title="A layer drawn on top of the graph layer and behind all plot elements.">CPTPlotAreaFrame</a>;
<a name="l00014"></a>00014 <span class="keyword">@class</span> <a class="code" href="interface_c_p_t_axis_set.html" title="A container layer for the set of axes for a graph.">CPTAxisSet</a>;
<a name="l00015"></a>00015 <span class="keyword">@class</span> <a class="code" href="interface_c_p_t_mutable_text_style.html" title="Mutable wrapper for text style properties.">CPTMutableTextStyle</a>;
<a name="l00016"></a>00016 
<a name="l00017"></a><a class="code" href="interface_c_p_t_theme.html">00017</a> <span class="keyword">@interface </span><a class="code" href="interface_c_p_t_theme.html" title="Creates a CPTGraph instance formatted with a predefined style.">CPTTheme</a> : <a class="codeRef" href="http://developer.apple.com/iphone/library/documentation/Cocoa/Reference/Foundation/Classes/NSObject_Class/Reference/Reference.html">NSObject</a>&lt;<a class="codeRef" href="http://developer.apple.com/iphone/library/documentation/Cocoa/Reference/Foundation/Protocols/NSCoding_Protocol/Reference/Reference.html">NSCoding</a>&gt; {
<a name="l00018"></a>00018     <span class="keyword">@private</span>
<a name="l00019"></a><a class="code" href="interface_c_p_t_theme.html#a72dbc05172faa4acded92f6a7cc56df6">00019</a>     Class <a class="code" href="interface_c_p_t_theme.html#a72dbc05172faa4acded92f6a7cc56df6" title="The class used to create new graphs. Must be a subclass of CPTGraph.">graphClass</a>;
<a name="l00020"></a>00020 }
<a name="l00021"></a>00021 
<a name="l00022"></a>00022 <span class="keyword">@property</span> (nonatomic, readwrite, retain) Class graphClass;
<a name="l00023"></a>00023 
<a name="l00026"></a>00026 +(void)registerTheme:(Class)themeClass;
<a name="l00027"></a>00027 +(<a class="codeRef" href="http://developer.apple.com/iphone/library/documentation/Cocoa/Reference/Foundation/Classes/NSArray_Class/NSArray.html">NSArray</a> *)themeClasses;
<a name="l00028"></a>00028 +(<a class="code" href="interface_c_p_t_theme.html" title="Creates a CPTGraph instance formatted with a predefined style.">CPTTheme</a> *)themeNamed:(<a class="codeRef" href="http://developer.apple.com/iphone/library/documentation/Cocoa/Reference/Foundation/Classes/NSString_Class/Reference/NSString.html">NSString</a> *)theme;
<a name="l00029"></a>00029 +(<a class="codeRef" href="http://developer.apple.com/iphone/library/documentation/Cocoa/Reference/Foundation/Classes/NSString_Class/Reference/NSString.html">NSString</a> *)name;
<a name="l00031"></a>00031 
<a name="l00034"></a>00034 -(void)applyThemeToGraph:(<a class="code" href="interface_c_p_t_graph.html" title="An abstract graph class.">CPTGraph</a> *)graph;
<a name="l00036"></a>00036 
<a name="l00037"></a>00037 <span class="keyword">@end</span>
<a name="l00038"></a>00038 
<a name="l00042"></a>00042 <span class="keyword">@interface </span><a class="code" href="interface_c_p_t_theme.html" title="Creates a CPTGraph instance formatted with a predefined style.">CPTTheme</a>(AbstractMethods)
<a name="l00043"></a>00043 
<a name="l00046"></a>00046 -(<a class="codeRef" href="http://developer.apple.com/iphone/library/documentation/Cocoa/Reference/ObjCRuntimeRef/Reference/reference.html">id</a>)<a class="code" href="interface_c_p_t_theme.html#a62847df437e0cb5e1f00251f9e5f3ff7" title="Creates a new graph styled with the theme.">newGraph</a>;
<a name="l00047"></a>00047 
<a name="l00048"></a>00048 -(void)applyThemeToBackground:(<a class="code" href="interface_c_p_t_graph.html" title="An abstract graph class.">CPTGraph</a> *)graph;
<a name="l00049"></a>00049 -(void)applyThemeToPlotArea:(<a class="code" href="interface_c_p_t_plot_area_frame.html" title="A layer drawn on top of the graph layer and behind all plot elements.">CPTPlotAreaFrame</a> *)plotAreaFrame;
<a name="l00050"></a>00050 -(void)applyThemeToAxisSet:(<a class="code" href="interface_c_p_t_axis_set.html" title="A container layer for the set of axes for a graph.">CPTAxisSet</a> *)axisSet;
<a name="l00052"></a>00052 
<a name="l00053"></a>00053 <span class="keyword">@end</span>
</pre></div></div><!-- contents -->
</div>
  <div id="nav-path" class="navpath">
    <ul>
      <li class="navelem"><b>CPTTheme.h</b>      </li>

    <li class="footer">Generated by <a href="http://www.doxygen.org/index.html">
    <img class="footer" src="doxygen.png" alt="doxygen"/></a></li>
   </ul>
 </div>


</body>
</html>
